.invoice-main {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  .invoice-top {
    width: 100%;
    display: flex;
    justify-content: space-between;
    height: 0.349rem;
    background: white;

    .invoice-part {
      display: flex;
      align-items: center;
      span {
        font-weight: bold;
        margin-left: 0.0521rem;
      }
    }
    .invoice-part:nth-child(1) {
      margin-left: 0.125rem;
    }
    .invoice-part:nth-child(3) {
      margin-right: 0.125rem;
      .button {
        width: 0.8073rem;
        height: 0.1979rem;
        display: flex;
        justify-content: center;
        align-items: center;
        color: white;
        background: #c71d32;
        margin-left: 0.3854rem;
      }
    }
  }

  .dir {
    width: 100%;
    border-bottom: 1px solid #e7ebee;
  }

  .invoice-second {
    background: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 0.6979rem;
    padding-left: 0.2083rem;
    padding-right: 0.5052rem;
    .part {
      font-size: 0.1875rem;
      font-weight: bolder;
    }
    .part:nth-child(1) {
      color: #c71d32;
    }
    .part:nth-child(2) {
      color: #8f8f8f;
    }

    .part:nth-child(3) {
      color: #2d2d2d;
    }
    .part:nth-child(4) {
      color: #8f8f8f;
    }
    .part:nth-child(5) {
      color: #2d2d2d;
    }
  }

  .invoice-third {
    margin-top: 0.0729rem;
    width: 100%;
    height: 0.9531rem;
    background: white;
    .top {
      display: flex;
      align-items: center;
      padding-left: 0.125rem;
      font-weight: bold;
      height: 0.349rem;
      span {
        margin-left: 0.0521rem;
      }
    }

    .content {
      display: flex;
      flex: 1;
      .left-part {
        display: flex;
        flex-direction: column;
        width: 1.8833rem;
        margin-top: 0.1rem;
        margin-left: 0.1rem;
        .line {
          display: flex;
          font-size: 0.0833rem;
          .title {
            color: #696969;
            flex: 1;
            //  width: 0;
          }
          span {
            color: #c71d32;
            margin-left: 0.05rem;
            // font-weight: bold;
          }
          span:hover {
            text-decoration: underline;
          }
        }
        .line:nth-child(2) {
          margin-top: 0.1rem;
        }
      }

      .right-part {
        flex: 1;
        margin-left: 0.625rem;
        font-size: 0.0833rem;
        margin-top: 0.1rem;
        .line {
          display: flex;
          color: #696969;

          .title {
            width: 0;
            flex: 1;
          }
          .editor-text {
            width: 0.5rem;
            text-align: center;
            color: #c71d32;
          }

          .editor-text:hover {
            text-decoration: underline;
          }
        }
      }
    }
  }

  .table-box {
    margin-top: 0.0729rem;
    width: 100%;
    background: white;
    // display: flex;
    // flex-direction: column;
    flex: 1;
    .table-container {
      padding-left: 0.1rem;
      padding-right: 0.1rem;
      .amount {
        font-size: 0.07rem;
      }
    }
  }
}
